﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Carwash.CW_Security;

namespace Carwash.CW_Functions
{
    class CW_Funtions
    {
        #region constants
            private const int MANAGER = 1;
            private const int OPERATOR = 2;
            private const int DELUXE = 3;
            private const int SUPER = 4;
            private const int ULTRA = 5;
            private const int INVALID_PIN = 0;
        #endregion
            public int enterPin(int pin)
            {
                EventHandler event_handler = new EventHandler();    
                return event_handler.validatePin(pin);
            }

            public int requestCarwash(int cwRequested)
            {
                return DELUXE;
            }

            public bool payCarwashWithCash()
            {
                return false;
            }

            public bool payCarwashWithCreditCard(string cardNumber)
            {
                return false;
            }
    }
}
